Director Article

Tweening FX with the Chrome Library Set of 3D Behaviors for Shockwave 3D


Table of Contents

  1. Introduction
  2. The Scene Fade Behavior with the goldfish_hq.w3d File
  3. The Light Color Tweening Behavior with the suv_ford_hq.W3D File
  4. The Emissive Color Tweening Behavior with the tortoise_hq.w3d File
  5. The Fog Tweening Behavior with the tyrannosaurus_rex_hq.w3d File

The Light Color Tweening Behavior with the suv_ford_hq.W3D File

Next, you'll apply a light color tweening effect to a sports utility vehicle (SUV) to simulate the color of the sunrise.

  1. Create a new movie.
  2. Import the suv_ford_hq.w3d file into the internal cast.
  3. Drag and drop the suv_ford_hq.W3D sprite from the internal cast to the stage or to the score.

    The Ford SUB before the Light Color Tweening behavior has been applied

    Figure 5. The Ford SUV before the Light Color Tweening behavior has been applied

  4. Drag and drop the Light Color Tweening behavior from the Chrome Library onto the W3D sprite.

    The Light Color Tweening behavior

    Figure 6. The Light Color Tweening behavior

    The following Light Color Tweening Parameters dialog box appears.

    The Light Color Tweening Parameters dialog box

    Figure 7. The Light Color Tweening Parameters dialog box

  5. Uncheck Begin with the start color. Using the sliders, set red end color (255, 0, 0) as show in Figure 7 above. Click OK.

    Note: You can also enter the values directly in the Behavior tab of the Property inspector.

  6. Press Play in the toolbar, select Control > Play, or press Enter on the numeric keypad.

    The Ford SUV with the Light Color Tweening behaviour applied to it

    Figure 8. The Ford SUV with the Light Color Tweening behavior applied to it

    The applied behavior has the effect of the sun rising on the SUV. As you tween the color of the scene light, the SUV becomes red.